def hello() :
    print("Hello World")

hello()

def area(width,height) :
    return width * height

def print_welcome(name) :
    print("Welcome" + name)

print_welcome('zhangfeng')

w,h = 4,5
print(area(w,h))

# 关键字参数
def printme(str) :
    print(str)
    return

printme(str = "菜鸟教程")

def printinfo(name,age):
    print("名字",name)

    print("年龄：",age)

printinfo(age = 20,name = 'zzzzz')

# 默认参数


# 不定长参数
def functionname(arg1,*vartuple):
    print(arg1)
    print(vartuple)
functionname(70,60,50)


sum = lambda arg1 , arg2 : arg1 + arg2

